<template>
  <div ref="indexscrollTop">
    <navigation></navigation>
    <router-view/>
    <Footer></Footer>
  </div>
</template>
<script>
import navigation from '@/components/navigation';
import Footer from '@/components/Footer';
export default {
  // 首页
  name: 'homeIndex',
  components: {
    navigation,
    Footer,
  },
  data () {
    return {};
  },
  methods: {
    // 滚动条
    indexscrollTopFn () {
      window.scrollTo(0,0);
    },
  },
}
</script>
